package de.tabuma.soap.entity.wsdl;

import javax.xml.namespace.QName;
import java.io.*;
import javax.jdo.annotations.*;

import de.tabuma.soap.annotation.*;

/**
 * This class represents an element of an wsdl document called &quot;part&quot;.
 * @author $Author: alefen $
 * @version $Revision: 1.1 $
 * @since $Date: 2009/12/30 02:57:12 $
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
@SoapClassDefinition(@SoapClassMapping(mappingString="part",mappingType=SoapClassMapping.MappingType.WSDL))
public class TPart implements Serializable {

    public TPart() {
        this.tExtensibleAttributesDocumentedId = new Long(0);
    }

    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;
    public Long getId() {
        return id;
    }

    @Persistent
    @SoapExtendsDefinition(extendsClass=TExtensibleAttributesDocumented.class)
    private Long tExtensibleAttributesDocumentedId;
    public Long getTExtensibleAttributesDocumentedId() {
        return tExtensibleAttributesDocumentedId;
    }
    public void setTExtensibleAttributesDocumentedId(Long tExtensibleAttributesDocumentedId) {
        this.tExtensibleAttributesDocumentedId = tExtensibleAttributesDocumentedId;
    }

    @Persistent
    @SoapAttribute
    protected String name;
    public String getName() {
        return name;
    }
    public void setName(String value) {
        this.name = value;
    }

    @Persistent
    @SoapAttribute
    protected String element;
    public String getElement() {
        return element;
    }
    public void setElement(String element) {
        this.element = element;
    }

    @Persistent
    @SoapAttribute
    protected String type;
    public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
}
